<template>
  <view class="page-container">
    <view class="header">
      <text class="title">个人中心</text>
    </view>

    <view class="user-card">
      <image class="avatar" :src="$img('images/avatar.png')" />
      <text class="username">演唱会粉丝</text>
      <text class="member-level">VIP 会员</text>
    </view>

    <view class="menu-list">
      <view class="menu-item">
        <text class="label">我的票务</text>
        <uni-icons type="arrowright" size="20" color="#999" />
      </view>
      <view class="menu-item">
        <text class="label">应援记录</text>
        <uni-icons type="arrowright" size="20" color="#999" />
      </view>
      <view class="menu-item">
        <text class="label">设置</text>
        <uni-icons type="arrowright" size="20" color="#999" />
      </view>
    </view>

    <custom-tab-bar :current="3" />
  </view>
</template>

<script>
import CustomTabBar from '@/components/custom-tab-bar.vue'

export default {
  components: {
    CustomTabBar
  }
}
</script>

<style lang="scss" scoped>
.page-container {
  padding: 40rpx 30rpx;
  padding-bottom: 170rpx;
  min-height: 100vh;
}

.header {
  margin-bottom: 60rpx;
  
  .title {
    font-size: 36rpx;
    color: #333;
    font-weight: 600;
  }
}

.user-card {
  background: #fff;
  border-radius: 16rpx;
  padding: 40rpx;
  box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.08);
  text-align: center;
  margin-bottom: 40rpx;
  
  .avatar {
    width: 120rpx;
    height: 120rpx;
    border-radius: 50%;
    margin-bottom: 20rpx;
  }
  
  .username {
    font-size: 32rpx;
    color: #333;
    display: block;
    margin-bottom: 10rpx;
  }
  
  .member-level {
    font-size: 26rpx;
    color: #FF3366;
    background: rgba(255,51,102,0.1);
    padding: 8rpx 20rpx;
    border-radius: 40rpx;
  }
}

.menu-list {
  background: #fff;
  border-radius: 16rpx;
  box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.08);
  
  .menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30rpx;
    border-bottom: 1rpx solid #eee;
    
    &:last-child {
      border-bottom: none;
    }
    
    .label {
      font-size: 30rpx;
      color: #333;
    }
  }
}

@media (max-width: 375px) {
  .page-container {
    padding: 30rpx 20rpx;
  }
  
  .user-card {
    padding: 30rpx;
    
    .username {
      font-size: 30rpx;
    }
  }
  
  .menu-item {
    padding: 25rpx 20rpx;
    
    .label {
      font-size: 28rpx;
    }
  }
}
</style> 